package com.xiaoke.java1;

import com.sun.scenario.effect.impl.sw.java.JSWBlend_SRC_OUTPeer;

public class ArithmeticTest {


    //关于(前++)和（后)++
    public void method1(){
        int i = 10;
        // i++;
        ++i;
    }

    public void method2(){
        int i = 10;
        int a = i++;

        int j = 20;
        int b = ++j;

    }


    public static void method3(){
        int i = 10;
        i = i ++;
        System.out.println(i);

        int j = 10;
        j = j + 1;
        System.out.println(j);
    }


    public static void main(String[] args) {
        method3();
    }



}
